// P1616 write by cn_ryh